﻿ALTER TABLE [hr].[Appointment]
    ADD CONSTRAINT [FK_Appointment_Patient] FOREIGN KEY ([PatientId]) REFERENCES [hr].[Patient] ([Id]) ON DELETE NO ACTION ON UPDATE NO ACTION;

